package com.fan.shop.dao;

import java.util.List;

import com.fan.shop.domain.ShopGlobal;

public interface ShopGlobalDao {

	
	
	public ShopGlobal getShopGlobal(String name);

	public List<ShopGlobal> getAllShopGlobals();

	public int getSize();

	public void addShopGlobal(ShopGlobal shopGlobal);

	public void updateStock(ShopGlobal shopGlobal);

	public void deleteShopGlobal(ShopGlobal shopGlobal);
	
	public boolean hasShopGlobal(String name);
	
	public List<String> getColumnNames();
}
